import React, { Component } from 'react';
import './YwxModuleTitle.less'

export default class YwxModuleTitle extends Component {

    render() {
        return (
            <div className={'ywx-module-title ' + this.props.className} style={this.props.style}>
                <div className='ywx-module-tile-left'>
                    <span className='marks'></span>
                    <span>{this.props.title || this.props.children}</span>
                </div>
                <div className='ywx-module-tile-right'></div>
            </div>
        );
    }
}